<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Directory (Metadata-Extractor - JavaDoc - An Open Source Java Library for Image File Metadata)
</TITLE>

<META NAME="keywords" CONTENT="com.drew.metadata.Directory class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="Directory (Metadata-Extractor - JavaDoc - An Open Source Java Library for Image File Metadata)";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Directory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<a href='http://www.drewnoakes.com/code/exif/' title='Go to the project home page.'><img src='http://metadata-extractor.googlecode.com/git/Resources/metadata-extractor-logo-131x30.png' border=0 alt='Metadata Extractor Logo'></a></EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../com/drew/metadata/DefaultTagDescriptor.html" title="class in com.drew.metadata"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/drew/metadata/Face.html" title="class in com.drew.metadata"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?com/drew/metadata/Directory.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Directory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.drew.metadata</FONT>
<BR>
Class Directory</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.drew.metadata.Directory</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../com/drew/metadata/adobe/AdobeJpegDirectory.html" title="class in com.drew.metadata.adobe">AdobeJpegDirectory</A>, <A HREF="../../../com/drew/metadata/exif/CanonMakernoteDirectory.html" title="class in com.drew.metadata.exif">CanonMakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/exif/CasioType1MakernoteDirectory.html" title="class in com.drew.metadata.exif">CasioType1MakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/exif/CasioType2MakernoteDirectory.html" title="class in com.drew.metadata.exif">CasioType2MakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/exif/ExifIFD0Directory.html" title="class in com.drew.metadata.exif">ExifIFD0Directory</A>, <A HREF="../../../com/drew/metadata/exif/ExifInteropDirectory.html" title="class in com.drew.metadata.exif">ExifInteropDirectory</A>, <A HREF="../../../com/drew/metadata/exif/ExifSubIFDDirectory.html" title="class in com.drew.metadata.exif">ExifSubIFDDirectory</A>, <A HREF="../../../com/drew/metadata/exif/ExifThumbnailDirectory.html" title="class in com.drew.metadata.exif">ExifThumbnailDirectory</A>, <A HREF="../../../com/drew/metadata/exif/FujifilmMakernoteDirectory.html" title="class in com.drew.metadata.exif">FujifilmMakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/exif/GpsDirectory.html" title="class in com.drew.metadata.exif">GpsDirectory</A>, <A HREF="../../../com/drew/metadata/icc/IccDirectory.html" title="class in com.drew.metadata.icc">IccDirectory</A>, <A HREF="../../../com/drew/metadata/iptc/IptcDirectory.html" title="class in com.drew.metadata.iptc">IptcDirectory</A>, <A HREF="../../../com/drew/metadata/jfif/JfifDirectory.html" title="class in com.drew.metadata.jfif">JfifDirectory</A>, <A HREF="../../../com/drew/metadata/jpeg/JpegCommentDirectory.html" title="class in com.drew.metadata.jpeg">JpegCommentDirectory</A>, <A HREF="../../../com/drew/metadata/jpeg/JpegDirectory.html" title="class in com.drew.metadata.jpeg">JpegDirectory</A>, <A HREF="../../../com/drew/metadata/exif/KodakMakernoteDirectory.html" title="class in com.drew.metadata.exif">KodakMakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/exif/KyoceraMakernoteDirectory.html" title="class in com.drew.metadata.exif">KyoceraMakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/exif/NikonType1MakernoteDirectory.html" title="class in com.drew.metadata.exif">NikonType1MakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/exif/NikonType2MakernoteDirectory.html" title="class in com.drew.metadata.exif">NikonType2MakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/exif/OlympusMakernoteDirectory.html" title="class in com.drew.metadata.exif">OlympusMakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/exif/PanasonicMakernoteDirectory.html" title="class in com.drew.metadata.exif">PanasonicMakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/exif/PentaxMakernoteDirectory.html" title="class in com.drew.metadata.exif">PentaxMakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/photoshop/PhotoshopDirectory.html" title="class in com.drew.metadata.photoshop">PhotoshopDirectory</A>, <A HREF="../../../com/drew/metadata/photoshop/PsdHeaderDirectory.html" title="class in com.drew.metadata.photoshop">PsdHeaderDirectory</A>, <A HREF="../../../com/drew/metadata/exif/SigmaMakernoteDirectory.html" title="class in com.drew.metadata.exif">SigmaMakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/exif/SonyType1MakernoteDirectory.html" title="class in com.drew.metadata.exif">SonyType1MakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/exif/SonyType6MakernoteDirectory.html" title="class in com.drew.metadata.exif">SonyType6MakernoteDirectory</A>, <A HREF="../../../com/drew/metadata/xmp/XmpDirectory.html" title="class in com.drew.metadata.xmp">XmpDirectory</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <B>Directory</B><DT>extends java.lang.Object</DL>
</PRE>

<P>
Abstract base class for all directory implementations, having methods for getting and setting tag values of various
 data types.
<P>

<P>
<DL>
<DT><B>Author:</B></DT>
  <DD>Drew Noakes http://drewnoakes.com</DD>
</DL>
<HR>

<P>
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.util.Collection&lt;<A HREF="../../../com/drew/metadata/Tag.html" title="class in com.drew.metadata">Tag</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#_definedTagList">_definedTagList</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convenient list holding tag values in the order in which they were stored.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../com/drew/metadata/TagDescriptor.html" title="class in com.drew.metadata">TagDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#_descriptor">_descriptor</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The descriptor used to interpret tag values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.util.Map&lt;java.lang.Integer,java.lang.Object&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#_tagMap">_tagMap</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Map of values hashed by type identifiers.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#Directory()">Directory</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#addError(java.lang.String)">addError</A></B>(java.lang.String&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers an error message with this directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#containsTag(int)">containsTag</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates whether the specified tag type has been set.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getBoolean(int)">getBoolean</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as a boolean, if possible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getBooleanObject(int)">getBooleanObject</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as a boolean.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getByteArray(int)">getByteArray</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the specified tag's value as an byte array, if possible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Date</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getDate(int)">getDate</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as a java.util.Date.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Date</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getDate(int, java.util.TimeZone)">getDate</A></B>(int&nbsp;tagType,
        java.util.TimeZone&nbsp;timeZone)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as a java.util.Date.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getDescription(int)">getDescription</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides a description of a tag's value using the descriptor set by
 <code>setDescriptor(Descriptor)</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getDouble(int)">getDouble</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as a double, if possible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getDoubleObject(int)">getDoubleObject</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as a Double.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getErrorCount()">getErrorCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the count of error messages in this directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Iterable&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getErrors()">getErrors</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to iterate over any error messages contained in this directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getFloat(int)">getFloat</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as a float, if possible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getFloatObject(int)">getFloatObject</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as a float.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getInt(int)">getInt</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as an int, if possible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getIntArray(int)">getIntArray</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the specified tag's value as an int array, if possible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Integer</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getInteger(int)">getInteger</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as an Integer, if possible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getLong(int)">getLong</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as a long, if possible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getLongObject(int)">getLongObject</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as a long.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getName()">getName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides the name of the directory, for display purposes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getObject(int)">getObject</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the object hashed for the particular tag type specified, if available.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getRational(int)">getRational</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as a Rational.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getRationalArray(int)">getRationalArray</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as an array of Rational.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getString(int)">getString</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified tag's value as a String.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getString(int, java.lang.String)">getString</A></B>(int&nbsp;tagType,
          java.lang.String&nbsp;charset)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getStringArray(int)">getStringArray</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the specified tag's value as a String array, if possible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getTagCount()">getTagCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of tags set in this Directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getTagName(int)">getTagName</A></B>(int&nbsp;tagType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of a specified tag as a String.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected abstract &nbsp;java.util.HashMap&lt;java.lang.Integer,java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getTagNameMap()">getTagNameMap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides the map of tag names, hashed by tag type identifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Collection&lt;<A HREF="../../../com/drew/metadata/Tag.html" title="class in com.drew.metadata">Tag</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#getTags()">getTags</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an Iterator of Tag instances that have been set in this Directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#hasErrors()">hasErrors</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a value indicating whether this directory has any error messages.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setBoolean(int, boolean)">setBoolean</A></B>(int&nbsp;tagType,
           boolean&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>boolean</code> value for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setByteArray(int, byte[])">setByteArray</A></B>(int&nbsp;tagType,
             byte[]&nbsp;bytes)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>byte[]</code> (array) for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setDate(int, java.util.Date)">setDate</A></B>(int&nbsp;tagType,
        java.util.Date&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>java.util.Date</code> value for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setDescriptor(com.drew.metadata.TagDescriptor)">setDescriptor</A></B>(<A HREF="../../../com/drew/metadata/TagDescriptor.html" title="class in com.drew.metadata">TagDescriptor</A>&nbsp;descriptor)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the descriptor used to interpret tag values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setDouble(int, double)">setDouble</A></B>(int&nbsp;tagType,
          double&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>double</code> value for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setDoubleArray(int, double[])">setDoubleArray</A></B>(int&nbsp;tagType,
               double[]&nbsp;doubles)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>double[]</code> (array) for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setFloat(int, float)">setFloat</A></B>(int&nbsp;tagType,
         float&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>float</code> value for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setFloatArray(int, float[])">setFloatArray</A></B>(int&nbsp;tagType,
              float[]&nbsp;floats)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>float[]</code> (array) for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setInt(int, int)">setInt</A></B>(int&nbsp;tagType,
       int&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets an <code>int</code> value for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setIntArray(int, int[])">setIntArray</A></B>(int&nbsp;tagType,
            int[]&nbsp;ints)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets an <code>int[]</code> (array) for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setLong(int, long)">setLong</A></B>(int&nbsp;tagType,
        long&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>long</code> value for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setObject(int, java.lang.Object)">setObject</A></B>(int&nbsp;tagType,
          java.lang.Object&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>Object</code> for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setObjectArray(int, java.lang.Object)">setObjectArray</A></B>(int&nbsp;tagType,
               java.lang.Object&nbsp;array)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets an array <code>Object</code> for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setRational(int, com.drew.lang.Rational)">setRational</A></B>(int&nbsp;tagType,
            <A HREF="../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</A>&nbsp;rational)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>Rational</code> value for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setRationalArray(int, com.drew.lang.Rational[])">setRationalArray</A></B>(int&nbsp;tagType,
                 <A HREF="../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</A>[]&nbsp;rationals)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>Rational[]</code> (array) for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setString(int, java.lang.String)">setString</A></B>(int&nbsp;tagType,
          java.lang.String&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>String</code> value for the specified tag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/drew/metadata/Directory.html#setStringArray(int, java.lang.String[])">setStringArray</A></B>(int&nbsp;tagType,
               java.lang.String[]&nbsp;strings)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a <code>String[]</code> (array) for the specified tag.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="_tagMap"><!-- --></A><H3>
_tagMap</H3>
<PRE>
protected final java.util.Map&lt;java.lang.Integer,java.lang.Object&gt; <B>_tagMap</B></PRE>
<DL>
<DD>Map of values hashed by type identifiers.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="_definedTagList"><!-- --></A><H3>
_definedTagList</H3>
<PRE>
protected final java.util.Collection&lt;<A HREF="../../../com/drew/metadata/Tag.html" title="class in com.drew.metadata">Tag</A>&gt; <B>_definedTagList</B></PRE>
<DL>
<DD>A convenient list holding tag values in the order in which they were stored.
 This is used for creation of an iterator, and for counting the number of
 defined tags.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="_descriptor"><!-- --></A><H3>
_descriptor</H3>
<PRE>
protected <A HREF="../../../com/drew/metadata/TagDescriptor.html" title="class in com.drew.metadata">TagDescriptor</A> <B>_descriptor</B></PRE>
<DL>
<DD>The descriptor used to interpret tag values.
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="Directory()"><!-- --></A><H3>
Directory</H3>
<PRE>
protected <B>Directory</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public abstract java.lang.String <B>getName</B>()</PRE>
<DL>
<DD>Provides the name of the directory, for display purposes.  E.g. <code>Exif</code>
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the name of the directory</DL>
</DD>
</DL>
<HR>

<A NAME="getTagNameMap()"><!-- --></A><H3>
getTagNameMap</H3>
<PRE>
protected abstract java.util.HashMap&lt;java.lang.Integer,java.lang.String&gt; <B>getTagNameMap</B>()</PRE>
<DL>
<DD>Provides the map of tag names, hashed by tag type identifier.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the map of tag names</DL>
</DD>
</DL>
<HR>

<A NAME="containsTag(int)"><!-- --></A><H3>
containsTag</H3>
<PRE>
public boolean <B>containsTag</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Indicates whether the specified tag type has been set.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag type to check for
<DT><B>Returns:</B><DD>true if a value exists for the specified tag type, false if not</DL>
</DD>
</DL>
<HR>

<A NAME="getTags()"><!-- --></A><H3>
getTags</H3>
<PRE>
public java.util.Collection&lt;<A HREF="../../../com/drew/metadata/Tag.html" title="class in com.drew.metadata">Tag</A>&gt; <B>getTags</B>()</PRE>
<DL>
<DD>Returns an Iterator of Tag instances that have been set in this Directory.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>an Iterator of Tag instances</DL>
</DD>
</DL>
<HR>

<A NAME="getTagCount()"><!-- --></A><H3>
getTagCount</H3>
<PRE>
public int <B>getTagCount</B>()</PRE>
<DL>
<DD>Returns the number of tags set in this Directory.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the number of tags set in this Directory</DL>
</DD>
</DL>
<HR>

<A NAME="setDescriptor(com.drew.metadata.TagDescriptor)"><!-- --></A><H3>
setDescriptor</H3>
<PRE>
public void <B>setDescriptor</B>(<A HREF="../../../com/drew/metadata/TagDescriptor.html" title="class in com.drew.metadata">TagDescriptor</A>&nbsp;descriptor)</PRE>
<DL>
<DD>Sets the descriptor used to interpret tag values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>descriptor</CODE> - the descriptor used to interpret tag values</DL>
</DD>
</DL>
<HR>

<A NAME="addError(java.lang.String)"><!-- --></A><H3>
addError</H3>
<PRE>
public void <B>addError</B>(java.lang.String&nbsp;message)</PRE>
<DL>
<DD>Registers an error message with this directory.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - an error message.</DL>
</DD>
</DL>
<HR>

<A NAME="hasErrors()"><!-- --></A><H3>
hasErrors</H3>
<PRE>
public boolean <B>hasErrors</B>()</PRE>
<DL>
<DD>Gets a value indicating whether this directory has any error messages.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if the directory contains errors, otherwise false</DL>
</DD>
</DL>
<HR>

<A NAME="getErrors()"><!-- --></A><H3>
getErrors</H3>
<PRE>
public java.lang.Iterable&lt;java.lang.String&gt; <B>getErrors</B>()</PRE>
<DL>
<DD>Used to iterate over any error messages contained in this directory.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>an iterable collection of error message strings.</DL>
</DD>
</DL>
<HR>

<A NAME="getErrorCount()"><!-- --></A><H3>
getErrorCount</H3>
<PRE>
public int <B>getErrorCount</B>()</PRE>
<DL>
<DD>Returns the count of error messages in this directory.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setInt(int, int)"><!-- --></A><H3>
setInt</H3>
<PRE>
public void <B>setInt</B>(int&nbsp;tagType,
                   int&nbsp;value)</PRE>
<DL>
<DD>Sets an <code>int</code> value for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag's value as an int<DD><CODE>value</CODE> - the value for the specified tag as an int</DL>
</DD>
</DL>
<HR>

<A NAME="setIntArray(int, int[])"><!-- --></A><H3>
setIntArray</H3>
<PRE>
public void <B>setIntArray</B>(int&nbsp;tagType,
                        int[]&nbsp;ints)</PRE>
<DL>
<DD>Sets an <code>int[]</code> (array) for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag identifier<DD><CODE>ints</CODE> - the int array to store</DL>
</DD>
</DL>
<HR>

<A NAME="setFloat(int, float)"><!-- --></A><H3>
setFloat</H3>
<PRE>
public void <B>setFloat</B>(int&nbsp;tagType,
                     float&nbsp;value)</PRE>
<DL>
<DD>Sets a <code>float</code> value for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag's value as an int<DD><CODE>value</CODE> - the value for the specified tag as a float</DL>
</DD>
</DL>
<HR>

<A NAME="setFloatArray(int, float[])"><!-- --></A><H3>
setFloatArray</H3>
<PRE>
public void <B>setFloatArray</B>(int&nbsp;tagType,
                          float[]&nbsp;floats)</PRE>
<DL>
<DD>Sets a <code>float[]</code> (array) for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag identifier<DD><CODE>floats</CODE> - the float array to store</DL>
</DD>
</DL>
<HR>

<A NAME="setDouble(int, double)"><!-- --></A><H3>
setDouble</H3>
<PRE>
public void <B>setDouble</B>(int&nbsp;tagType,
                      double&nbsp;value)</PRE>
<DL>
<DD>Sets a <code>double</code> value for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag's value as an int<DD><CODE>value</CODE> - the value for the specified tag as a double</DL>
</DD>
</DL>
<HR>

<A NAME="setDoubleArray(int, double[])"><!-- --></A><H3>
setDoubleArray</H3>
<PRE>
public void <B>setDoubleArray</B>(int&nbsp;tagType,
                           double[]&nbsp;doubles)</PRE>
<DL>
<DD>Sets a <code>double[]</code> (array) for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag identifier<DD><CODE>doubles</CODE> - the double array to store</DL>
</DD>
</DL>
<HR>

<A NAME="setString(int, java.lang.String)"><!-- --></A><H3>
setString</H3>
<PRE>
public void <B>setString</B>(int&nbsp;tagType,
                      java.lang.String&nbsp;value)</PRE>
<DL>
<DD>Sets a <code>String</code> value for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag's value as an int<DD><CODE>value</CODE> - the value for the specified tag as a String</DL>
</DD>
</DL>
<HR>

<A NAME="setStringArray(int, java.lang.String[])"><!-- --></A><H3>
setStringArray</H3>
<PRE>
public void <B>setStringArray</B>(int&nbsp;tagType,
                           java.lang.String[]&nbsp;strings)</PRE>
<DL>
<DD>Sets a <code>String[]</code> (array) for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag identifier<DD><CODE>strings</CODE> - the String array to store</DL>
</DD>
</DL>
<HR>

<A NAME="setBoolean(int, boolean)"><!-- --></A><H3>
setBoolean</H3>
<PRE>
public void <B>setBoolean</B>(int&nbsp;tagType,
                       boolean&nbsp;value)</PRE>
<DL>
<DD>Sets a <code>boolean</code> value for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag's value as an int<DD><CODE>value</CODE> - the value for the specified tag as a boolean</DL>
</DD>
</DL>
<HR>

<A NAME="setLong(int, long)"><!-- --></A><H3>
setLong</H3>
<PRE>
public void <B>setLong</B>(int&nbsp;tagType,
                    long&nbsp;value)</PRE>
<DL>
<DD>Sets a <code>long</code> value for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag's value as an int<DD><CODE>value</CODE> - the value for the specified tag as a long</DL>
</DD>
</DL>
<HR>

<A NAME="setDate(int, java.util.Date)"><!-- --></A><H3>
setDate</H3>
<PRE>
public void <B>setDate</B>(int&nbsp;tagType,
                    java.util.Date&nbsp;value)</PRE>
<DL>
<DD>Sets a <code>java.util.Date</code> value for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag's value as an int<DD><CODE>value</CODE> - the value for the specified tag as a java.util.Date</DL>
</DD>
</DL>
<HR>

<A NAME="setRational(int, com.drew.lang.Rational)"><!-- --></A><H3>
setRational</H3>
<PRE>
public void <B>setRational</B>(int&nbsp;tagType,
                        <A HREF="../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</A>&nbsp;rational)</PRE>
<DL>
<DD>Sets a <code>Rational</code> value for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag's value as an int<DD><CODE>rational</CODE> - rational number</DL>
</DD>
</DL>
<HR>

<A NAME="setRationalArray(int, com.drew.lang.Rational[])"><!-- --></A><H3>
setRationalArray</H3>
<PRE>
public void <B>setRationalArray</B>(int&nbsp;tagType,
                             <A HREF="../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</A>[]&nbsp;rationals)</PRE>
<DL>
<DD>Sets a <code>Rational[]</code> (array) for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag identifier<DD><CODE>rationals</CODE> - the Rational array to store</DL>
</DD>
</DL>
<HR>

<A NAME="setByteArray(int, byte[])"><!-- --></A><H3>
setByteArray</H3>
<PRE>
public void <B>setByteArray</B>(int&nbsp;tagType,
                         byte[]&nbsp;bytes)</PRE>
<DL>
<DD>Sets a <code>byte[]</code> (array) for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag identifier<DD><CODE>bytes</CODE> - the byte array to store</DL>
</DD>
</DL>
<HR>

<A NAME="setObject(int, java.lang.Object)"><!-- --></A><H3>
setObject</H3>
<PRE>
public void <B>setObject</B>(int&nbsp;tagType,
                      java.lang.Object&nbsp;value)</PRE>
<DL>
<DD>Sets a <code>Object</code> for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag's value as an int<DD><CODE>value</CODE> - the value for the specified tag
<DT><B>Throws:</B>
<DD><CODE>java.lang.NullPointerException</CODE> - if value is <code>null</code></DL>
</DD>
</DL>
<HR>

<A NAME="setObjectArray(int, java.lang.Object)"><!-- --></A><H3>
setObjectArray</H3>
<PRE>
public void <B>setObjectArray</B>(int&nbsp;tagType,
                           java.lang.Object&nbsp;array)</PRE>
<DL>
<DD>Sets an array <code>Object</code> for the specified tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag's value as an int<DD><CODE>array</CODE> - the array of values for the specified tag</DL>
</DD>
</DL>
<HR>

<A NAME="getInt(int)"><!-- --></A><H3>
getInt</H3>
<PRE>
public int <B>getInt</B>(int&nbsp;tagType)
           throws <A HREF="../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></PRE>
<DL>
<DD>Returns the specified tag's value as an int, if possible.  Every attempt to represent the tag's value as an int
 is taken.  Here is a list of the action taken depending upon the tag's original type:
 <ul>
 <li> int - Return unchanged.
 <li> Number - Return an int value (real numbers are truncated).
 <li> Rational - Truncate any fractional part and returns remaining int.
 <li> String - Attempt to parse string as an int.  If this fails, convert the char[] to an int (using shifts and OR).
 <li> Rational[] - Return int value of first item in array.
 <li> byte[] - Return int value of first item in array.
 <li> int[] - Return int value of first item in array.
 </ul>
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></CODE> - if no value exists for tagType or if it cannot be converted to an int.</DL>
</DD>
</DL>
<HR>

<A NAME="getInteger(int)"><!-- --></A><H3>
getInteger</H3>
<PRE>
public java.lang.Integer <B>getInteger</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Returns the specified tag's value as an Integer, if possible.  Every attempt to represent the tag's value as an
 Integer is taken.  Here is a list of the action taken depending upon the tag's original type:
 <ul>
 <li> int - Return unchanged
 <li> Number - Return an int value (real numbers are truncated)
 <li> Rational - Truncate any fractional part and returns remaining int
 <li> String - Attempt to parse string as an int.  If this fails, convert the char[] to an int (using shifts and OR)
 <li> Rational[] - Return int value of first item in array if length &gt; 0
 <li> byte[] - Return int value of first item in array if length &gt; 0
 <li> int[] - Return int value of first item in array if length &gt; 0
 </ul>

 If the value is not found or cannot be converted to int, <code>null</code> is returned.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getStringArray(int)"><!-- --></A><H3>
getStringArray</H3>
<PRE>
public java.lang.String[] <B>getStringArray</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Gets the specified tag's value as a String array, if possible.  Only supported
 where the tag is set as String[], String, int[], byte[] or Rational[].
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag identifier
<DT><B>Returns:</B><DD>the tag's value as an array of Strings. If the value is unset or cannot be converted, <code>null</code> is returned.</DL>
</DD>
</DL>
<HR>

<A NAME="getIntArray(int)"><!-- --></A><H3>
getIntArray</H3>
<PRE>
public int[] <B>getIntArray</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Gets the specified tag's value as an int array, if possible.  Only supported
 where the tag is set as String, Integer, int[], byte[] or Rational[].
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag identifier
<DT><B>Returns:</B><DD>the tag's value as an int array</DL>
</DD>
</DL>
<HR>

<A NAME="getByteArray(int)"><!-- --></A><H3>
getByteArray</H3>
<PRE>
public byte[] <B>getByteArray</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Gets the specified tag's value as an byte array, if possible.  Only supported
 where the tag is set as String, Integer, int[], byte[] or Rational[].
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag identifier
<DT><B>Returns:</B><DD>the tag's value as a byte array</DL>
</DD>
</DL>
<HR>

<A NAME="getDouble(int)"><!-- --></A><H3>
getDouble</H3>
<PRE>
public double <B>getDouble</B>(int&nbsp;tagType)
                 throws <A HREF="../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></PRE>
<DL>
<DD>Returns the specified tag's value as a double, if possible.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getDoubleObject(int)"><!-- --></A><H3>
getDoubleObject</H3>
<PRE>
public java.lang.Double <B>getDoubleObject</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Returns the specified tag's value as a Double.  If the tag is not set or cannot be converted, <code>null</code> is returned.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getFloat(int)"><!-- --></A><H3>
getFloat</H3>
<PRE>
public float <B>getFloat</B>(int&nbsp;tagType)
               throws <A HREF="../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></PRE>
<DL>
<DD>Returns the specified tag's value as a float, if possible.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getFloatObject(int)"><!-- --></A><H3>
getFloatObject</H3>
<PRE>
public java.lang.Float <B>getFloatObject</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Returns the specified tag's value as a float.  If the tag is not set or cannot be converted, <code>null</code> is returned.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getLong(int)"><!-- --></A><H3>
getLong</H3>
<PRE>
public long <B>getLong</B>(int&nbsp;tagType)
             throws <A HREF="../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></PRE>
<DL>
<DD>Returns the specified tag's value as a long, if possible.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getLongObject(int)"><!-- --></A><H3>
getLongObject</H3>
<PRE>
public java.lang.Long <B>getLongObject</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Returns the specified tag's value as a long.  If the tag is not set or cannot be converted, <code>null</code> is returned.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getBoolean(int)"><!-- --></A><H3>
getBoolean</H3>
<PRE>
public boolean <B>getBoolean</B>(int&nbsp;tagType)
                   throws <A HREF="../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></PRE>
<DL>
<DD>Returns the specified tag's value as a boolean, if possible.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getBooleanObject(int)"><!-- --></A><H3>
getBooleanObject</H3>
<PRE>
public java.lang.Boolean <B>getBooleanObject</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Returns the specified tag's value as a boolean.  If the tag is not set or cannot be converted, <code>null</code> is returned.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDate(int)"><!-- --></A><H3>
getDate</H3>
<PRE>
public java.util.Date <B>getDate</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Returns the specified tag's value as a java.util.Date.  If the value is unset or cannot be converted, <code>null</code> is returned.
 <p/>
 If the underlying value is a <CODE>String</CODE>, then attempts will be made to parse the string as though it is in
 the current <CODE>TimeZone</CODE>.  If the <CODE>TimeZone</CODE> is known, call the overload that accepts one as an argument.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDate(int, java.util.TimeZone)"><!-- --></A><H3>
getDate</H3>
<PRE>
public java.util.Date <B>getDate</B>(int&nbsp;tagType,
                              java.util.TimeZone&nbsp;timeZone)</PRE>
<DL>
<DD>Returns the specified tag's value as a java.util.Date.  If the value is unset or cannot be converted, <code>null</code> is returned.
 <p/>
 If the underlying value is a <CODE>String</CODE>, then attempts will be made to parse the string as though it is in
 the <CODE>TimeZone</CODE> represented by the <code>timeZone</code> parameter (if it is non-null).  Note that this parameter
 is only considered if the underlying value is a string and parsing occurs, otherwise it has no effect.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getRational(int)"><!-- --></A><H3>
getRational</H3>
<PRE>
public <A HREF="../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</A> <B>getRational</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Returns the specified tag's value as a Rational.  If the value is unset or cannot be converted, <code>null</code> is returned.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getRationalArray(int)"><!-- --></A><H3>
getRationalArray</H3>
<PRE>
public <A HREF="../../../com/drew/lang/Rational.html" title="class in com.drew.lang">Rational</A>[] <B>getRationalArray</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Returns the specified tag's value as an array of Rational.  If the value is unset or cannot be converted, <code>null</code> is returned.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getString(int)"><!-- --></A><H3>
getString</H3>
<PRE>
public java.lang.String <B>getString</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Returns the specified tag's value as a String.  This value is the 'raw' value.  A more presentable decoding
 of this value may be obtained from the corresponding Descriptor.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the String representation of the tag's value, or
         <code>null</code> if the tag hasn't been defined.</DL>
</DD>
</DL>
<HR>

<A NAME="getString(int, java.lang.String)"><!-- --></A><H3>
getString</H3>
<PRE>
public java.lang.String <B>getString</B>(int&nbsp;tagType,
                                  java.lang.String&nbsp;charset)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getObject(int)"><!-- --></A><H3>
getObject</H3>
<PRE>
public java.lang.Object <B>getObject</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Returns the object hashed for the particular tag type specified, if available.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag type identifier
<DT><B>Returns:</B><DD>the tag's value as an Object if available, else <code>null</code></DL>
</DD>
</DL>
<HR>

<A NAME="getTagName(int)"><!-- --></A><H3>
getTagName</H3>
<PRE>
public java.lang.String <B>getTagName</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Returns the name of a specified tag as a String.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag type identifier
<DT><B>Returns:</B><DD>the tag's name as a String</DL>
</DD>
</DL>
<HR>

<A NAME="getDescription(int)"><!-- --></A><H3>
getDescription</H3>
<PRE>
public java.lang.String <B>getDescription</B>(int&nbsp;tagType)</PRE>
<DL>
<DD>Provides a description of a tag's value using the descriptor set by
 <code>setDescriptor(Descriptor)</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagType</CODE> - the tag type identifier
<DT><B>Returns:</B><DD>the tag value's description as a String</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Directory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<a href='http://www.drewnoakes.com/code/exif/' title='Go to the project home page.'><img src='http://metadata-extractor.googlecode.com/git/Resources/metadata-extractor-logo-131x30.png' border=0 alt='Metadata Extractor Logo'></a></EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../com/drew/metadata/DefaultTagDescriptor.html" title="class in com.drew.metadata"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/drew/metadata/Face.html" title="class in com.drew.metadata"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?com/drew/metadata/Directory.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Directory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
<i>Copyright &#169; 2003-2012 Drew Noakes. All Rights Reserved.</i>
<script src='http://www.google-analytics.com/urchin.js' type='text/javascript'></script>
<script type='text/javascript'>
_uacct = 'UA-936661-1';
urchinTracker();
</script>
</BODY>
</HTML>
